﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_POTENTIALCUSTOMERHISTORY.cs
// 项目名称：Lovol 
// 创建时间：2012/3/1
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_POTENTIALCUSTOMERHISTORY数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_POTENTIALCUSTOMERHISTORY", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_POTENTIALCUSTOMERHISTORY", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_POTENTIALCUSTOMERHISTORY_Entity
    {
        #region 变量定义
        ///<summary>
        ///车辆编号
        ///</summary>
        private long _aUTOID;
        ///<summary>
        ///工单编号
        ///</summary>
        private long _cASEID = 0;
        ///<summary>
        ///客户编号
        ///</summary>
        private string _cUSTOMERID = String.Empty;
        ///<summary>
        ///客户代码
        ///</summary>
        private string _cUSTOMERCODE = String.Empty;
        ///<summary>
        ///客户姓名
        ///</summary>
        private string _cUSTOMERNAME = String.Empty;
        ///<summary>
        ///创建时间
        ///</summary>
        private DateTime? _cREATETIME;
        ///<summary>
        ///创建人编号
        ///</summary>
        private long? _cREATEPEOPLEID = 0;
        ///<summary>
        ///创建人
        ///</summary>
        private string _cREATEPEOPLE = String.Empty;
        ///<summary>
        ///跟进时间
        ///</summary>
        private DateTime? _fOLLOWUPTIME;
        ///<summary>
        ///跟进内容
        ///</summary>
        private string _fOLLOWUPCONTENT = String.Empty;
        ///<summary>
        ///回访备注
        ///</summary>
        private string _vISITREMARK = String.Empty;
        ///<summary>
        ///用户建议
        ///</summary>
        private string _uSERRECOMMENDED = String.Empty;
        ///<summary>
        ///经销商是否主动联系
        ///</summary>
        private string _iSINITIATIVECONTACT = String.Empty;
        ///<summary>
        ///是否对车辆基本信息了解
        ///</summary>
        private string _iSUNDERSTANDVEHICLEINFO = String.Empty;
        ///<summary>
        ///是否已购机
        ///</summary>
        private string _iSHASPURCHASE = String.Empty;
        ///<summary>
        ///客户购车信息来源
        ///</summary>
        private string _sOURCE = String.Empty;
        ///<summary>
        ///（已购车或已决定购车、犹豫中、购买其它品牌）客户原因分析
        ///</summary>
        private string _cAUSEANALYSIS = String.Empty;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_POTENTIALCUSTOMERHISTORY_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///车辆编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_POTENTIALCUSTOMERHISTORY")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public long AUTOID
        {
            get { return _aUTOID; }
            set { _aUTOID = value; }

        }

        ///<summary>
        ///工单编号
        ///</summary>		
        public long CASEID
        {
            get { return _cASEID; }
            set { _cASEID = value; }

        }

        ///<summary>
        ///客户编号
        ///</summary>		
        public string CUSTOMERID
        {
            get { return _cUSTOMERID; }
            set
            {
                _cUSTOMERID = value;
            }

        }

        ///<summary>
        ///客户代码
        ///</summary>		
        public string CUSTOMERCODE
        {
            get { return _cUSTOMERCODE; }
            set
            {
                _cUSTOMERCODE = value;
            }

        }

        ///<summary>
        ///客户姓名
        ///</summary>		
        public string CUSTOMERNAME
        {
            get { return _cUSTOMERNAME; }
            set
            {
                _cUSTOMERNAME = value;
            }

        }

        ///<summary>
        ///创建时间
        ///</summary>		
        public DateTime? CREATETIME
        {
            get { return _cREATETIME; }
            set { _cREATETIME = value; }

        }

        ///<summary>
        ///创建人编号
        ///</summary>		
        public long? CREATEPEOPLEID
        {
            get { return _cREATEPEOPLEID; }
            set { _cREATEPEOPLEID = value; }

        }

        ///<summary>
        ///创建人
        ///</summary>		
        public string CREATEPEOPLE
        {
            get { return _cREATEPEOPLE; }
            set
            {
                _cREATEPEOPLE = value;
            }

        }

        ///<summary>
        ///跟进时间
        ///</summary>		
        public DateTime? FOLLOWUPTIME
        {
            get { return _fOLLOWUPTIME; }
            set { _fOLLOWUPTIME = value; }

        }

        ///<summary>
        ///跟进内容
        ///</summary>		
        public string FOLLOWUPCONTENT
        {
            get { return _fOLLOWUPCONTENT; }
            set
            {
                _fOLLOWUPCONTENT = value;
            }

        }

        ///<summary>
        ///回访备注
        ///</summary>		
        public string VISITREMARK
        {
            get { return _vISITREMARK; }
            set
            {
                _vISITREMARK = value;
            }

        }

        ///<summary>
        ///用户建议
        ///</summary>		
        public string USERRECOMMENDED
        {
            get { return _uSERRECOMMENDED; }
            set
            {
                _uSERRECOMMENDED = value;
            }

        }

        ///<summary>
        ///经销商是否主动联系
        ///</summary>		
        public string ISINITIATIVECONTACT
        {
            get { return _iSINITIATIVECONTACT; }
            set
            {
                _iSINITIATIVECONTACT = value;
            }

        }

        ///<summary>
        ///是否对车辆基本信息了解
        ///</summary>		
        public string ISUNDERSTANDVEHICLEINFO
        {
            get { return _iSUNDERSTANDVEHICLEINFO; }
            set
            {
                _iSUNDERSTANDVEHICLEINFO = value;
            }

        }

        ///<summary>
        ///是否已购机
        ///</summary>		
        public string ISHASPURCHASE
        {
            get { return _iSHASPURCHASE; }
            set
            {
                _iSHASPURCHASE = value;
            }

        }

        ///<summary>
        ///客户购车信息来源
        ///</summary>		
        public string SOURCE
        {
            get { return _sOURCE; }
            set
            {
                _sOURCE = value;
            }

        }

        ///<summary>
        ///（已购车或已决定购车、犹豫中、购买其它品牌）客户原因分析
        ///</summary>		
        public string CAUSEANALYSIS
        {
            get { return _cAUSEANALYSIS; }
            set
            {
                _cAUSEANALYSIS = value;
            }

        }


        #endregion

    }
}
